#!/bin/sh

#*/5 * * * *  sh /opt/xrtb/loggzipeu.sh
rootpath=/data/devicedata/distinct/
path=$(date --utc -d "yesterday" +%Y%m%d)
path1=$(date  +%Y%m%d)
lasthour=$(date +%Y%m%d%H -d  '-1 hours')



echo ${path}
echo $rootpath/$path/*/*.202
echo $rootpath/$path1/*/*.202

/bin/gzip  $rootpath/$path/*/*.202
/bin/gzip  $rootpath/$path1/*/*.202

/bin/gzip  /opt/xrtb/log/device/*$lasthour
